package org.celery.modules.shopStatics.wrapper;

import lombok.AllArgsConstructor;
import org.springblade.core.mp.support.BaseEntityWrapper;
import org.springblade.core.tool.utils.BeanUtil;
import org.celery.modules.shopStatics.entity.ShopStaticsDay;
import org.celery.modules.shopStatics.vo.ShopStaticsDayVO;

/**
 * 店铺日数据统计表包装类,返回视图层所需的字段
 *
 * @author Celery
 * @since 2023-08-26
 */
public class ShopStaticsDayWrapper extends BaseEntityWrapper<ShopStaticsDay, ShopStaticsDayVO>  {

    public static ShopStaticsDayWrapper build() {
        return new ShopStaticsDayWrapper();
    }

	@Override
	public ShopStaticsDayVO entityVO(ShopStaticsDay shopStaticsDay) {
		ShopStaticsDayVO shopStaticsDayVO = BeanUtil.copy(shopStaticsDay, ShopStaticsDayVO.class);

		return shopStaticsDayVO;
	}

}
